package data;

import java.util.ArrayList;

public class Player
{
	private String			name;
	private String			number;
	private String			team;
	private String			position;
	private ArrayList<Game>	gameData;

	/**
	 * @param name
	 * @param team
	 * @param number
	 * @param position
	 * @param games
	 */
	public Player(String name, String number, String position, String team,
			ArrayList<Game> gameData)
	{
		this.name = name;
		this.number = number;
		this.position = position;
		this.team = team;
		this.gameData = gameData;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getNumber()
	{
		return number;
	}

	public void setNumber(String number)
	{
		this.number = number;
	}

	public String getTeam()
	{
		return team;
	}

	public void setTeam(String team)
	{
		this.team = team;
	}

	public String getPosition()
	{
		return position;
	}

	public void setPosition(String position)
	{
		this.position = position;
	}

	public ArrayList<Game> getGames()
	{
		return gameData;
	}

	public void setGames(ArrayList<Game> games)
	{
		this.gameData = games;
	}

	@Override
	public String toString()
	{
		return "Player [name=" + name + ", number=" + number + ", team=" + team
				+ ", position=" + position + ", gameData=" + gameData + "]";
	}

}
